import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import {SamplesComponent} from "./samples.component";
import {CommonsComponent} from "./commons/commons.component";

const routes: Routes = [
  {
    path:"",
    component:SamplesComponent
  },
  {
    path:"commons",
    component:CommonsComponent
  },
  {
    path: 'stomp',
    loadChildren: './stomp/stomp.module#StompModule'
  },

];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class SamplesRoutingModule { }
